import {bootstrap} from "@angular/platform-browser-dynamic";
import {AppComponent} from "./app.component";
import {HTTP_PROVIDERS} from "@angular/http";
//启用HTTP模块,本质是:整个项目都依赖注入HTTP_PROVIDERS
bootstrap(AppComponent,[HTTP_PROVIDERS]);
